From: Rui Matos Date: Thu, 26 Feb 2015 16:47:37 +0000 (+0100) Subject: Revert "workspace: Grab the key focus when hovering over a window" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1617 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fdd6fc976c8fccacd2d5291795936a36a6a3af20;p=gnome-shell.git Revert "workspace: Grab the key focus when hovering over a window" Turns out this makes interaction with the OSK or candidate popups using a mouse basically impossible since they get dismissed when the key focus is captured by a window in the overview. This reverts commit aeb9f5775f66858de508ac4429cfb48553672c89. https://bugzilla.gnome.org/show_bug.cgi?id=745245 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index e9ab1676b..e6cf41d38 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -156,7 +156,6 @@ const WindowClone = new Lang.Class({ this.actor.add_action(clickAction); this.actor.connect('destroy', Lang.bind(this, this._onDestroy)); this.actor.connect('key-press-event', Lang.bind(this, this._onKeyPress)); - this.actor.connect('enter-event', Lang.bind(this, this._onEnter)); this._draggable = DND.makeDraggable(this.actor, { restoreOnSuccess: true, @@ -353,10 +352,6 @@ const WindowClone = new Lang.Class({ return false; }, - _onEnter: function() { - this.actor.grab_key_focus(); - }, - _onClicked: function(action, actor) { this._activate(); },